/**
 * 
 */
package Test;

import static org.junit.Assert.*;
import junit.framework.Assert;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import ControlLayer.ActivityTypeCtr;
import ControlLayer.FacilityCtr;
import ModelLayer.ActivityType;

/**
 * @author fonix232
 * 
 */
public class FacilityTest {
	private ModelLayer.Facility f;
	private FacilityCtr fctr;
	private ActivityTypeCtr actr;

	/**
	 * @throws java.lang.Exception
	 */
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		actr = new ActivityTypeCtr();
		fctr = new FacilityCtr();
	}

	/**
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	/**
	 * Test method for {@link ModelLayer.Facility#Facility()}.
	 */
	@Test
	public void testFacility() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link ModelLayer.Facility#Facility(long)}.
	 */
	@Test
	public void testFacilityLong() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link ModelLayer.Facility#getID()}.
	 */
	@Test
	public void testGetID() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link ModelLayer.Facility#setID(long)}.
	 */
	@Test
	public void testSetID() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link ModelLayer.Facility#getName()}.
	 */
	@Test
	public void testGetName() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link ModelLayer.Facility#setName(java.lang.String)}.
	 */
	@Test
	public void testSetName() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link ModelLayer.Facility#getActivities()}.
	 */
	@Test
	public void testGetActivities() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for
	 * {@link ModelLayer.Facility#addActivity(ModelLayer.ActivityType)}.
	 */
	@Test
	public void testAddActivity() {
		fail("Not yet implemented");
		ActivityType a = new ActivityType(1);
		a.setName("Test Activity");
		f = new ModelLayer.Facility();
		f.setID(1);
		f.setName("Test");
		f.addActivity(a);
		Assert.assertEquals(f.getActivity(1).getID(), a.getID());
	}

	/**
	 * Test method for
	 * {@link ModelLayer.Facility#removeActivity(ModelLayer.ActivityType)}.
	 */
	@Test
	public void testRemoveActivity() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for
	 * {@link ModelLayer.Facility#updateActivity(ModelLayer.ActivityType)}.
	 */
	@Test
	public void testUpdateActivity() {
		fail("Not yet implemented");
	}

}
